package com.lagou.dao;

import com.lagou.pojo.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AuthcodeDao extends JpaRepository<AuthCode, Integer> {

    public AuthCode findFirstByEmailOrderByIdDesc(String email);
}
